package com.test.mvcframework.pojo.view;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 视图解析器
 *
 * @author felix
 */
public interface ViewResolver {
    /**
     * 渲染视图
     */
    void render(HttpServletRequest request, HttpServletResponse response, Object result)
            throws ServletException, IOException;
}
